
const routes = [
  {
    path: '/login',
    name: 'Login',
    component: () => import('../views/login/UserLogin.vue'),
  },
  {
    path: '/layoutSystem',
    name: 'LayoutSystem',
    component: () => import('../views/LayoutSystem.vue'),
    children: [
      {
        path: 'visualizationView',
        name: '可视化',
        component: () => import('../views/login/VisualizationView.vue'),
      },
      {
        path: 'adminView',
        name: '角色管理',
        component: () => import('../views/Admin/AdminView.vue'),
      },
      {
        path: 'categoryView',
        name: '分类管理',
        component: () => import('../views/category/CategoryView.vue'),
      },{
        path: 'brandManagementView',
        name: '品牌管理',
        component: () => import('../views/product/BrandManagementView.vue'),
      },
      {
        path: 'productTypeView',
        name: '商品类型',
        component: () => import('../views/product/ProductTypeView.vue'),
      },{
        path: 'productView',
        name: '商品管理',
        component: () => import('../views/product/ProductView.vue'),
      },{
        path: 'personalInformation',
        name: '个人信息',
        component: () => import('../views/Admin/PersonalInformation.vue'),
      },{
        path: 'productTableView',
        name: '商品表格管理',
        component: () => import('../views/product/ProductTableView.vue'),
      },{
        path: 'orderManagementView',
        name: '订单管理',
        component: () => import('../views/order/OrderManagementView.vue'),
      },{
        path: 'userTableView',
        name: '用户管理',
        component: () => import('../views/user/UserView.vue'),
      },{
        path: 'reasonForReturnView',
        name: '退货原因',
        component: () => import('../views/returnOfGoods/ReasonForReturnView.vue'),
      },{
        path: 'returnRecordView',
        name: '退货记录',
        component: () => import('../views/returnOfGoods/ReturnRecordsView.vue'),
      },{
        path: 'returnRequestView',
        name: '退货申请',
        component: () => import('../views/returnOfGoods/ReturnRequestView.vue'),
      },{
        path: 'messageView',
        name: '用户留言管理',
        component: () => import('../views/comments/index.vue'),
      }



    ],
  },{
    path: '/',
    name: 'PlatformView',
    component: () => import('../views/Platform/PlatformView.vue'),
  }
];

export default routes;
